﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MessageBox.ascx.cs" Inherits="TKB.UserControls.MessageBox" %>
<link href="../App_Themes/Main/Main.css" rel="stylesheet" type="text/css" />

<script language="javascript" type="text/javascript" src="../Javascript/UserControlTextBox.js"></script>

<script language="javascript" type="text/javascript">

    $(document).ready(function() {
        $("#<%= ButtonAciklamaTamam.ClientID %>").click(function(e) {
            MessageBoxClose(e);
        })
        $("#<%= ButtonUyariTamam.ClientID %>").click(function(e) {
            MessageBoxClose(e);
        })
        $("#<%= ButtonHataTamam.ClientID %>").click(function(e) {
            MessageBoxClose(e);
        })
        $("#<%= ButtonBasariTamam.ClientID %>").click(function(e) {
            MessageBoxClose(e);
        })
        $("#<%= ButtonNoneTamam.ClientID %>").click(function(e) {
            MessageBoxClose(e);
        })
    });

    function MessageBoxClose(e) {
        e.preventDefault();
        $("#<%= tableMsgBox.ClientID %>").hide();
        $("#<%= divMsgBox.ClientID %>").hide();
    }
</script>

<div id="divMsgBox" runat="server" style="opacity: 0.2; filter: alpha(opacity=20);
    background-color: #000; position: absolute; top: 0; left: 0; width: 2000px; height: 2000px;
    z-index: 97; display: none;">
</div>
<table id="tableMsgBox" runat="server" visible="false" border="0" cellspacing="0"
    class="tdTabStripPasif" cellpadding="0" style="position: absolute; text-align: center;
    width: 100%; height: 100%; z-index: 98;">
    <tr>
        <td>
            <asp:Panel runat="server" ID="UyariPanel" Visible="false">
                <table border="0" cellspacing="0" cellpadding="0" class="uyarimesajlari">
                    <tr>
                        <td class="mesajkutusubaslik">
                            <div class="mesajkutusubasliksol">
                                <div class="mesajkutusubasliksolsag">
                                    <div>
                                        Uyarı
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="mesajlarUyari">
                            <table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Label ID="LabelUyari" runat="server"></asp:Label>
                                        </p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                        <asp:Button ID="ButtonUyariTamam" runat="server" Text="Tamam" SkinID="ButtonSari"
                                            CausesValidation="false" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel runat="server" ID="BilgiPanel" Visible="false">
                <table border="0" cellspacing="0" cellpadding="0" class="uyarimesajlari">
                    <tr>
                        <td class="mesajkutusubaslik">
                            <div class="mesajkutusubasliksol">
                                <div class="mesajkutusubasliksolsag">
                                    <div>
                                        Açıklama
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="mesajlarAciklama">
                            <table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <asp:Label ID="LabelAciklama" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                        <asp:Button ID="ButtonAciklamaTamam" runat="server" Text="Tamam" SkinID="ButtonTurkuaz"
                                            CausesValidation="false" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel runat="server" ID="HataPanel" Visible="false">
                <table border="0" cellspacing="0" cellpadding="0" class="uyarimesajlari">
                    <tr>
                        <td class="mesajkutusubaslik">
                            <div class="mesajkutusubasliksol">
                                <div class="mesajkutusubasliksolsag">
                                    <div>
                                        Hata
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="mesajlarHata">
                            <table border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td>
                                        <p>
                                            <asp:Label ID="LabelHata" runat="server"></asp:Label>
                                        </p>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                        <asp:Button ID="ButtonHataTamam" runat="server" Text="Tamam" SkinID="ButtonKirmizi"
                                            CausesValidation="false" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel runat="server" ID="BasariPanel" Visible="false">
                <table border="0" cellspacing="0" cellpadding="0" class="uyarimesajlari">
                    <tr>
                        <td class="mesajkutusubaslik">
                            <div class="mesajkutusubasliksol">
                                <div class="mesajkutusubasliksolsag">
                                    <div>
                                        Başarılı
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="mesajlarBasari">
                            <table border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr>
                                    <td>
                                        <asp:Label ID="LabelBasari" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                        <asp:Button ID="ButtonBasariTamam" runat="server" Text="Tamam" SkinID="ButtonYesil"
                                            CausesValidation="false" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
            <asp:Panel runat="server" ID="NonePanel" Visible="false">
                <table border="0" cellspacing="0" cellpadding="0" class="uyarimesajlari">
                    <tr>
                        <td class="mesajkutusubaslik">
                            <div class="mesajkutusubasliksol">
                                <div class="mesajkutusubasliksolsag">
                                    <div>
                                        Mesaj
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td id="tdKatagorisiz" runat="server" class="mesajlarKategorisiz">
                            <table border="0" cellspacing="0" cellpadding="0" align="center">
                                <tr>
                                    <td>
                                        <asp:Label ID="LabelNone" runat="server"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <br />
                                        <asp:Button ID="ButtonNoneTamam" runat="server" Text="Tamam" SkinID="ButtonTuruncu"
                                            CausesValidation="false" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </asp:Panel>
        </td>
    </tr>
</table>
<ajt:AlwaysVisibleControlExtender ID="tableMsgBox_AlwaysVisibleControlExtender" runat="server"
    Enabled="True" TargetControlID="tableMsgBox" HorizontalSide="Center" VerticalSide="Middle">
</ajt:AlwaysVisibleControlExtender>
